package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by shao-yikun on 2017/4/7.
 */
@Entity
@Table(name = "tb_maintenance", schema = "hualude_db", catalog = "")
public class MaintenanceEntity {
    private Integer maintenanceId;
    private Integer roadSignId;
    private String maintenanceReason;
    private Integer maintenanceLevel;
    private Integer maintenanceType;
    private String maintenancePic;
    private String maintenanceContent;
    private String maintenanceFeedback;
    private String maintenanceExplain;
    private Integer maintenanceSignStatus;
    private String maintenanceTime;
    private Integer maintenanceStatus;
    private Integer maintenancePeopleId;
    private String maintenanceCreateTime;
    private String signFaultPic;
    private Double repairAmount;
    private Integer signFaultId;//signFault外键

    @Id
    @GeneratedValue (strategy = GenerationType.IDENTITY)
    @Column(name = "MaintenanceId")
    public Integer getMaintenanceId() {
        return maintenanceId;
    }

    public void setMaintenanceId(Integer maintenanceId) {
        this.maintenanceId = maintenanceId;
    }

    @Basic
    @Column(name = "RoadSignId")
    public Integer getRoadSignId() {
        return roadSignId;
    }

    public void setRoadSignId(Integer roadSignId) {
        this.roadSignId = roadSignId;
    }

    @Basic
    @Column(name = "MaintenanceReason")
    public String getMaintenanceReason() {
        return maintenanceReason;
    }

    public void setMaintenanceReason(String maintenanceReason) {
        this.maintenanceReason = maintenanceReason;
    }

    @Basic
    @Column(name = "MaintenanceLevel")
    public Integer getMaintenanceLevel() {
        return maintenanceLevel;
    }

    public void setMaintenanceLevel(Integer maintenanceLevel) {
        this.maintenanceLevel = maintenanceLevel;
    }

    @Basic
    @Column(name = "MaintenanceType")
    public Integer getMaintenanceType() {
        return maintenanceType;
    }

    public void setMaintenanceType(Integer maintenanceType) {
        this.maintenanceType = maintenanceType;
    }

    @Basic
    @Column(name = "MaintenancePic")
    public String getMaintenancePic() {
        return maintenancePic;
    }

    public void setMaintenancePic(String maintenancePic) {
        this.maintenancePic = maintenancePic;
    }

    @Basic
    @Column(name = "MaintenanceContent")
    public String getMaintenanceContent() {
        return maintenanceContent;
    }

    public void setMaintenanceContent(String maintenanceContent) {
        this.maintenanceContent = maintenanceContent;
    }

    @Basic
    @Column(name = "MaintenanceFeedback")
    public String getMaintenanceFeedback() {
        return maintenanceFeedback;
    }

    public void setMaintenanceFeedback(String maintenanceFeedback) {
        this.maintenanceFeedback = maintenanceFeedback;
    }

    @Basic
    @Column(name = "MaintenanceExplain")
    public String getMaintenanceExplain() {
        return maintenanceExplain;
    }

    public void setMaintenanceExplain(String maintenanceExplain) {
        this.maintenanceExplain = maintenanceExplain;
    }

    @Basic
    @Column(name = "MaintenanceSignStatus")
    public Integer getMaintenanceSignStatus() {
        return maintenanceSignStatus;
    }

    public void setMaintenanceSignStatus(Integer maintenanceSignStatus) {
        this.maintenanceSignStatus = maintenanceSignStatus;
    }

    @Basic
    @Column(name = "MaintenanceTime")
    public String getMaintenanceTime() {
        return maintenanceTime;
    }

    public void setMaintenanceTime(String maintenanceTime) {
        this.maintenanceTime = maintenanceTime;
    }

    @Basic
    @Column(name = "MaintenanceStatus")
    public Integer getMaintenanceStatus() {
        return maintenanceStatus;
    }

    public void setMaintenanceStatus(Integer maintenanceStatus) {
        this.maintenanceStatus = maintenanceStatus;
    }

    @Basic
    @Column(name = "MaintenancePeopleId")
    public Integer getMaintenancePeopleId() {
        return maintenancePeopleId;
    }

    public void setMaintenancePeopleId(Integer maintenancePeopleId) {
        this.maintenancePeopleId = maintenancePeopleId;
    }

    @Basic
    @Column(name = "MaintenanceCreateTime")
    public String getMaintenanceCreateTime() {
        return maintenanceCreateTime;
    }

    public void setMaintenanceCreateTime(String maintenanceCreateTime) {
        this.maintenanceCreateTime = maintenanceCreateTime;
    }

    @Basic
    @Column(name = "SignFaultPic")
    public String getSignFaultPic() {
        return signFaultPic;
    }

    public void setSignFaultPic(String signFaultPic) {
        this.signFaultPic = signFaultPic;
    }

    @Basic
    @Column(name = "RepairAmount")
    public Double getRepairAmount() {
        return repairAmount;
    }

    public void setRepairAmount(Double repairAmount) {
        this.repairAmount = repairAmount;
    }

    @Basic
    @Column(name = "SignFaultId")
    public Integer getSignFaultId() {
        return signFaultId;
    }

    public void setSignFaultId(Integer signFaultId) {
        this.signFaultId = signFaultId;
    }
}
